Using a Web Application on a fortigate via jump issues a CORS error and does not work #46350
Replies: 3 comments 9 replies
-
Your You also don't need a port on the redirect. |
Beta Was this translation helpful? Give feedback.
-
Maybe it is relevant, as i have little knowledge about this, but we also had difficulty using a proxypass for fortigates as the return content was always with the IP of the fortigate and not with the IP of the host doing the proxypass |
Beta Was this translation helpful? Give feedback.
-
One year later, with 16.4.x which features CORS redirect, this still doesn't work: Pseudocode:
After more investigation it seems the rewrite redirect is not working as requested. Possible relation to #43280 ? URL requested is https://firewall.mgmt.com/favicon/site.webmanifest hence the CORS error |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Expected behavior:
Web App on fortigate mgmt should open mgmt
Current behavior:
Errors in console :
Access to manifest at 'https://:6060/web/launch/.?path=%2Ffavicon%2Fsite.webmanifest' (redirected from 'https://.:6060/favicon/site.webmanifest')
from origin 'https://.:6060' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
It seems that it tries from firewall.teleport.example.com to access something teleport.example.com
Bug details:
I've tried using many variants of rewrite but nothing works
Any feedback is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions